package com.itheima.service;

import com.aliyuncs.exceptions.ClientException;

/**
 * @author wgq
 * @date 2019-10-17 19:39
 * 手机验证码发送 => 业务层接口
 */
public interface ValidateCodeService{
    /**
     * 预约，手机验证码发送 存Redis
     * @param telePhone
     */
    void sendForOrder(String telePhone) throws Exception;

    /**
     * 登录，手机验证码发送，存Redis
     * @param telephone
     */
    void sendForLogin(String telephone) throws Exception;
}
